Optimal. Leaf size=25 \[ \frac{c \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0082619, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {21, 205} \[ \frac{c \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 205
Rubi steps
\begin{align*} \int \frac{a c+b c x^2}{\left (a+b x^2\right )^2} \, dx &=c \int \frac{1}{a+b x^2} \, dx\\ &=\frac{c \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.0039821, size = 25, normalized size = 1. \[ \frac{c \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 17, normalized size = 0.7 \begin{align*}{c\arctan \left ({bx{\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.25022, size = 157, normalized size = 6.28 \begin{align*} \left [-\frac{\sqrt{-a b} c \log \left (\frac{b x^{2} - 2 \, \sqrt{-a b} x - a}{b x^{2} + a}\right )}{2 \, a b}, \frac{\sqrt{a b} c \arctan \left (\frac{\sqrt{a b} x}{a}\right )}{a b}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.132129, size = 54, normalized size = 2.16 \begin{align*} c \left (- \frac{\sqrt{- \frac{1}{a b}} \log{\left (- a \sqrt{- \frac{1}{a b}} + x \right )}}{2} + \frac{\sqrt{- \frac{1}{a b}} \log{\left (a \sqrt{- \frac{1}{a b}} + x \right )}}{2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.18793, size = 22, normalized size = 0.88 \begin{align*} \frac{c \arctan \left (\frac{b x}{\sqrt{a b}}\right )}{\sqrt{a b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]